<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<jsp:include page="head.jsp" />
<body class="page-body loaded" style="">
<jsp:include page="nav.jsp" />




   
                    
                        
          <div class="page-title">
          <div class="title-env">
            <h1 class="title">修改密码</h1>
            <p class="description">此处可以超级管理员密码</p>
          </div>
            <div class="breadcrumb-env">
            
               <ol class="breadcrumb bc-1">
                 <li>
                  <a href="#"><i class="fa-home"></i>首页</a>
                </li>
                <li class="active">
                      <strong>修改密码</strong>
                  </li>
              </ol>
                  
             </div>
           </div>

            <div class="row">
                <div class="col-sm-12">
                    
                  <div class="panel panel-default">
                    <div class="panel-heading">
                      <h3 class="panel-title">管理员信息</h3>
                      
                      <div class="panel-options">
                         </div>
                    </div>

                    <div class="panel-body">
         
         <!-- 头像修改表单 -->           
                   
                    <br>
                    
          <!-- 密码修改表单 -->
                      <p align="center" style="color:green;">${requestScope.Msg }</p>
    <form action="${pageContext.request.contextPath }/alterAdminPass" class="form-horizontal validate" role="form"  novalidate="novalidate" method="post" >
                   <div class="form-group">
                    <label class="col-sm-2 control-label">我的账号</label>
                    <div class="col-sm-9">
                      <input type="text" class="form-control" id="field-1" value="${sessionScope.username }" name="user" data-validate="required" readonly="readonly">
                    </div>
                  </div>  

                 
              

                  <div class="form-group">
                    <label class="col-sm-2 control-label">输入新密码</label>
                    <div class="col-sm-9">
                      <div class="input-group">
                        <input type="password" value="${sessionScope.password }" class="form-control datepicker" placeholder="请输入密码"  name="pass"  >
                        
                        <div class="input-group-addon">
                            此处输入新密码哦
                        </div>
                      </div>
                    </div>
                  </div>


                  <div class="form-group">
                    <label class="col-sm-2 control-label">确认密码</label>
                    <div class="col-sm-9">
                      <input type="password" value="${sessionScope.password }" class="form-control" id="field-1" placeholder="请再次输入密码" name="pass1">
                    </div>
                  </div>  

                  <div class="form-group">
                    <label class="col-sm-2 control-label"></label>
                    <div class="col-sm-9">
                    <p align="center"  style="color:red;">${requestScope.errorMsg }</p>
                      <button type="submit" class="btn btn-info btn-block">  修  改 密  码  </button>
                    </div>
                  </div>
                  
                </form>   
                      
                    </div>
                  
                  </div>
                    
                </div>

            </div>
            </div>


<jsp:include page="copy.jsp" />
